﻿using HLStock.DBAccess;
using HLStock.Model;

namespace HLStock.WmsService
{
    public class UserRightServiceProvider : BaseServiceProvider<UserRightModel>
    {
        public List<UserRightModel> ListByUser(string userid)
        {
            return List(CondCollection.True().Eq(nameof(UserRightModel.UserId), userid));
        }
    }
}
